raar.external
Interface RAExternalAgentInterface

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
Amigo, AmigoDummy, AmigoImpl

public interface RAExternalAgentInterface
extends java.io.Serializable

Interface one should extend to control physical robots and other external agents with. This is actually the SERVER side.


Method Summary
 void connect()
          Connect to the external agent.
 void disconnect()
          Disconnect from the external agent.
 java.lang.String[] getSensorIDs()
          Provide a list of sensor names.
 RADataType getSensorValue(java.lang.String sensor_id)
          Give value of sensor with name given.
 void robotGo(double speed, double angle)
          Go somewhere.
 

Method Detail

connect

void connect()
             throws RAException
Connect to the external agent.

Throws:
RAException

disconnect

void disconnect()
                throws RAException
Disconnect from the external agent.

Throws:
RAException

robotGo

void robotGo(double speed,
             double angle)
             throws RAException
Go somewhere.

Throws:
RAException

getSensorIDs

java.lang.String[] getSensorIDs()
                                throws RAException
Provide a list of sensor names.

Throws:
RAException

getSensorValue

RADataType getSensorValue(java.lang.String sensor_id)
                          throws RAException
Give value of sensor with name given.

Throws:
RAException